// src/router/index.js
import { createRouter, createWebHashHistory } from 'vue-router';
import Home from '../components/Home.vue';
import Session from '../components/Session.vue';

// 创建路由实例
const routes = [
  {
    path: '/',
    name: 'Home',
    component: Session,
  },
  // {
  //   path: '/',
  //   name: 'Session',
  //   component: Session,
  // },
  // ...其他路由
];

// 创建并导出路由实例
export default createRouter({
  history: createWebHashHistory(),
  routes,
});